Parse more information from the RNG grammar.#913
Parse more information from the RNG grammar.#913vandenoever wants to merge 2 commits intowebodf:masterfrom
Conversation
|
Build succeeded. |
|
Build succeeded. |
There was a problem hiding this comment.
There's a firstElementChild and nextElementSibling properties you might be able to use here instead?
There was a problem hiding this comment.
These are not available in the DOM implementation that WebODF uses on Node.js.
|
Code is good though. I really like your API dox... very clear and informative 😄 |
|
@peitschie Thanks for the review. I've found an error in the implementation and will update the PR once I fix that. This code is a port from Java code I'm working on. Once the Java code stabilizes, I'll update this code. |
The parser now knows which elements or attributes are allowed on elements. It also know which elements may contain text. This information is not yet output.
|
Build failed. |
The parser now knows which elements or attributes are allowed on elements.
It also know which elements may contain text.
This information is not yet output.